﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SGuildWinePartyDrunkInfo extends Object
    {
        public var rank:int;
        public var playerName:String;
        public var drunkTimes:int;
        public var alcohol:int;
        public var surplusSeconds:int;

        public function SGuildWinePartyDrunkInfo()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.rank);
            param1.writeString(this.playerName);
            param1.writeInt(this.drunkTimes);
            param1.writeInt(this.alcohol);
            param1.writeInt(this.surplusSeconds);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.rank = param1.readInt();
            this.playerName = param1.readString();
            this.drunkTimes = param1.readInt();
            this.alcohol = param1.readInt();
            this.surplusSeconds = param1.readInt();
            return;
        }// end function

    }
}
